/**
 * 
 */
package com.chacha.framework.common.models;

import java.io.Serializable;
import java.util.Arrays;
import java.util.Date;

/**
 * @author rachmat_doni@smltech.co.id
 * 
 */
@SuppressWarnings("serial")
public class NodeElementObject implements Serializable {

	private Date dateTime_Id;
	private String neId;
	private String moId;
	private String level;
	private String id;
	private TechnologyObject technology;
	private String params[];
	private String nodeName;
	private String siteName;
	private String cellName;
	private String clusterSales;
	private AreaObject area;
	private MapObject map;

	public NodeElementObject() {
		dateTime_Id = new Date();
		neId = "";
		moId = "";
		technology = new TechnologyObject();
		level = "";
		id = "";
		area = new AreaObject();
		params = new String[0];
		clusterSales = "";
		map = new MapObject();
	}

	public NodeElementObject(Date dateTime_Id, String neId, String moId,
			TechnologyObject tech, String level, String id) {
		super();
		this.dateTime_Id = dateTime_Id;
		this.neId = neId;
		this.moId = moId;
		this.technology = tech;
		this.level = level;
		this.id = id;
		params = new String[0];
	}

	public NodeElementObject(Date dateTime_Id, String neId, String moId,
			String level, String id, TechnologyObject technology,
			String[] params) {
		super();
		this.dateTime_Id = dateTime_Id;
		this.neId = neId;
		this.moId = moId;
		this.level = level;
		this.id = id;
		this.technology = technology;
		this.params = params;
	}

	public NodeElementObject(Date dateTime_Id, String neId, String moId,
			String level, String id, TechnologyObject technology,
			String[] params, String nodeName, String siteName, String cellName,
			AreaObject area) {
		super();
		this.dateTime_Id = dateTime_Id;
		this.neId = neId;
		this.moId = moId;
		this.level = level;
		this.id = id;
		this.technology = technology;
		this.params = params;
		this.nodeName = nodeName;
		this.siteName = siteName;
		this.cellName = cellName;
		this.area = area;
	}

	public String[] getParams() {
		return params;
	}

	public void setParams(String[] params) {
		this.params = params;
	}

	public Date getDateTime_Id() {
		return dateTime_Id;
	}

	public void setDateTime_Id(Date dateTime_Id) {
		this.dateTime_Id = dateTime_Id;
	}

	public String getNeId() {
		return neId;
	}

	public void setNeId(String neId) {
		this.neId = neId;
	}

	public String getMoId() {
		return moId;
	}

	public void setMoId(String moId) {
		this.moId = moId;
	}

	public String getLevel() {
		return level;
	}

	public void setLevel(String level) {
		this.level = level;
	}

	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public TechnologyObject getTechnology() {
		return technology;
	}

	public void setTechnology(TechnologyObject technology) {
		this.technology = technology;
	}

	public String getNodeName() {
		return nodeName;
	}

	public void setNodeName(String nodeName) {
		this.nodeName = nodeName;
	}

	public String getSiteName() {
		return siteName;
	}

	public void setSiteName(String siteName) {
		this.siteName = siteName;
	}

	public String getCellName() {
		return cellName;
	}

	public void setCellName(String cellName) {
		this.cellName = cellName;
	}

	public AreaObject getArea() {
		return area;
	}

	public void setArea(AreaObject area) {
		this.area = area;
	}

	public String getClusterSales() {
		return clusterSales;
	}

	public void setClusterSales(String clusterSales) {
		this.clusterSales = clusterSales;
	}

	public MapObject getMap() {
		return map;
	}

	public void setMap(MapObject map) {
		this.map = map;
	}

	@Override
	public String toString() {
		return "NodeElementObject [dateTime_Id=" + dateTime_Id + ", neId="
				+ neId + ", moId=" + moId + ", level=" + level + ", id=" + id
				+ ", technology=" + technology + ", params="
				+ Arrays.toString(params) + ", nodeName=" + nodeName
				+ ", siteName=" + siteName + ", cellName=" + cellName
				+ ", clusterSales=" + clusterSales + ", area=" + area
				+ ", map=" + map + "]";
	}

}